package com.hebeiwangxiaozhang.admin.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CommodityCategoryComposite implements Serializable {
    private Long id;
    private String name;
    private Integer sort;
    private Long parentId;
    private Integer isParent;
    private Date createTime;
    private Date updateTime;
    private List<CommodityCategoryComposite> child = new ArrayList<>();
}
